<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
		</style>
	</head>
	<body>	
	<h6><kbd>&nbsp;设置用户角色&nbsp;</kbd></h6>
	
	<div class="alert alert-info">
   正在修改【{$user.nickname}】用户的角色
</div>
		<form action="{:U(MODULE_NAME.'/Role/userRoleHandle')}" method="post">
			<input type="hidden" value="{$user.uid}" name="uid">

	<select name="roles[]" placeholder="给用户设置一个角色吧" data-toggle="select" multiple class="form-control  multiselect-inverse mrs mbm">
       	<foreach name="roles" item="r">
       			<eq name="r.checked" value="true">
       				<option selected value="{$r.id}">{$r.title}</option>
       				<else />
       				<option value="{$r.id}">{$r.title}</option>
       			</eq>
						</foreach>
      </select>
			<input type="submit" class="btn btn-success" value="保 存" />
			<a href="{:U(MODULE_NAME.'/User/index')}" class="btn btn-danger ">返 回</a>
		</form>
		
	</body>		
</html>
